package com.itheima.chapter03.mapper;

import com.itheima.chapter03.domain.Article;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ArticleMapper {
    Article selectArticleById(Integer id);

    List<Article> selectArticleList(Article article);

    int insertArticle(Article article);

    int updateArticle(Article article);

    int removeArticle(Integer id);
}
